package com.itheima.health.dao;

import com.itheima.health.pojo.SetmealCheckgroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface SetmealCheckgroupDao {

    List<SetmealCheckgroup> selectByCheckGroupId(@Param("checkGroupId") Integer checkGroupId);

    void save(@Param("list") List<SetmealCheckgroup> list);

    List<SetmealCheckgroup> selectBySetmealId(@Param("setmealId") Integer setmealId);

    void deleteBySetmealId(@Param("setmealId") Integer setmealId);

    void deleteSetmealById(@Param("setmealId") Integer setmealId);
}
